﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace l1cs.server.serverpackets
{
    public class S_TradeStatus : ServerBasePacket
    {
        public S_TradeStatus( int type )
        {
            writeC( Opcodes.S_OPCODE_TRADESTATUS );
            writeC( type ); // 0:取引完了 1:取引キャンセル
        }

        override
        public byte[] getContent()
        {
            return getBytes();
        }

        override
        public String getType()
        {
            return "[S] S_TradeStatus";
        }
    }
}
